package com.doit.day01;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

public class RedisClientDemo {
    public static void main(String[] args) {
        //第一种创建jedis对象的方法
/*        Jedis jedis = new Jedis("linux01", 6379);
        System.out.println(jedis.ping());*/

/*        JedisPool pool = new JedisPool("linux01", 6379);
        Jedis jedis = pool.getResource();*/


    }
}
